#ifndef __SHADER_H__
#define __SHADER_H__

#include <GLES2/gl2.h>

class Shader
{
	private:
		GLuint id;
		GLuint type;
		GLint compiled;
		char * log;

	public:
		Shader();
		~Shader();
		void load(const char *file, GLenum type);
		char * getLog();
		GLuint getID() { return id; }

};
#endif // __SHADER_H__